<?php
namespace app\api\controller;

use app\BaseController;
class Index extends BaseController{

    public function getData(){
        $list = ['name'=>'魏佳','age'=>23,'height'=>190];
         exit(json_encode($list));
    }
}

